package design.mode.model.proxy.cglibproxy;


import design.mode.model.proxy.TranStation;
import design.mode.model.proxy.cglibproxy.factory.CglibProxyFactory;

/**
 * @author ldanniel
 * @description
 * @date 2023/23/13:56
 * @since jdk11
 */
public class CglibDynamicProxyTest {
    public static void main(String[] args) {
        CglibProxyFactory proxyFactory = new CglibProxyFactory();
        TranStation sellTickets = proxyFactory.getProxyObject();
        sellTickets.sell();
    }
}
